Opc.Ua.Core
EncodeMessage(IEncodeable,Byte[],IServiceMessageContext) Method



Opc.Ua Namespace > JsonEncoder Class > EncodeMessage Method : EncodeMessage(IEncodeable,Byte[],IServiceMessageContext) Method
Encodes a message in a stream.
Syntax
'Declaration
 
Public Overloads Shared Function EncodeMessage( _
   ByVal message As IEncodeable, _
   ByVal buffer() As Byte, _
   ByVal context As IServiceMessageContext _
) As ArraySegment(Of Byte)
'Usage
 
Dim message As IEncodeable
Dim buffer() As Byte
Dim context As IServiceMessageContext
Dim value As ArraySegment(Of Byte)
 
value = JsonEncoder.EncodeMessage(message, buffer, context)

Parameters

message
buffer
context
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JsonEncoder Class
JsonEncoder Members
Overload List